package com.itheima.dao;

import com.itheima.pojo.OrderSetting;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDate;
import java.util.Date;
import java.util.List;

@Mapper
public interface OrderSettingDao {


    void editNumberByOrderDate(LocalDate orderDate, int number);


    List<OrderSetting> getOrderSettingByMonth(LocalDate firstDay, LocalDate lastDay);

    OrderSetting getOrderSettingByOrderDate(LocalDate orderDateLocalDate);

    void addOrderSetting(OrderSetting orderSetting);

    void editReservationsrByOrderDate(OrderSetting orderSetting);
}
